
/*
 * @Author: 林武
 * @Date: 2025-08-29 14:40:30
 * @LastEditors: 林武
 * @LastEditTime: 2025-08-29 15:20:21
 * @FilePath: \assets\Home.ts
 * @Description: 
 * 
 * Copyright (c) 2025 by 林武, All Rights Reserved. 
 */

import { ZipLoader } from "./lips/zip/ZipBundleLoader";

const { ccclass, property } = cc._decorator;

@ccclass
export default class Home extends cc.Component {


    async ShowBundle1() {
        await ZipLoader.loadZipBundle("Bundle1");
        cc.director.loadScene("Bundle1");
    }

    async ShowBundle2() {
        await ZipLoader.loadZipBundle("Bundle2");
        cc.director.loadScene("Bundle2");
    }

    async ShowBundle3() {
        await ZipLoader.loadZipBundle("Bundle3");
        cc.director.loadScene("Bundle3");
    }
}
